package com.ocom.webapi.vo.studentpage;

import com.ocom.common.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

@Data
public class BoardersImportVo implements Serializable {
    private static final long serialVersionUID = -1078164438385246472L;


    @Excel(name = "学生学号")
    private String pCode;

    @Excel(name = "同住人姓名")
    private String name;

    @Excel(name = "联系电话")
    private String phone;

    @Excel(name = "身份证号码")
    private String identity;

    @Excel(name = "关系")
    private String type;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("pCode",getPCode())
                .append("name", getName())
                .append("phone", getPhone())
                .append("identity", getIdentity())
                .append("type", getType())
                .toString();
    }
}
